package com.fairyzww.cloud.mapper;

import com.fairyzww.cloud.model.Thumb;
import com.fairyzww.cloud.model.ThumbExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ThumbMapper {
    int countByExample(ThumbExample example);

    int deleteByExample(ThumbExample example);

    int deleteByPrimaryKey(Integer thumbId);

    int insert(Thumb record);

    int insertSelective(Thumb record);

    List<Thumb> selectByExampleWithBLOBs(ThumbExample example);

    List<Thumb> selectByExample(ThumbExample example);

    Thumb selectByPrimaryKey(Integer thumbId);

    int updateByExampleSelective(@Param("record") Thumb record, @Param("example") ThumbExample example);

    int updateByExampleWithBLOBs(@Param("record") Thumb record, @Param("example") ThumbExample example);

    int updateByExample(@Param("record") Thumb record, @Param("example") ThumbExample example);

    int updateByPrimaryKeySelective(Thumb record);

    int updateByPrimaryKeyWithBLOBs(Thumb record);

    int updateByPrimaryKey(Thumb record);
}